/* Fonts */
@font-face {
    font-family: 'BitLight';
    src: url('font/BitLight10(sRB).TTF');
}

body {
    background-color: black;
}

/* Loading screen */
.scene_loading {
    margin-left: auto;
    margin-right: auto;
    width: 500px;
    height: 70px;
}

.loadingtext {
    color: white;
    margin-left: auto;
    margin-right: auto;
    width: 50px;
    line-height: 30px;
}

.loadingbar {
    background-color: black;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px; /* (height of inner div) / 2 + padding */
    padding: 3px;
    width: 400px;
}

.loadingbar div {
    background-color: green;
    width: 0%;
    height: 14px;
    border-radius: 10px;
}

.loadingstatus {
    color: white;
    text-align: center;
    line-height: 30px;
}

/* main game */
.scene_main {
    position: absolute;
    top: 0;
    left: 0;
}

canvas {
    image-rendering: optimizeSpeed;             /* Older versions of FF */
    image-rendering: -moz-crisp-edges;          /* FF 6.0+ */
    image-rendering: -webkit-optimize-contrast; /* Webkit */
                                                /*  (Safari now, Chrome soon) */
    image-rendering: -o-crisp-edges;            /* OS X & Windows Opera (12.02+) */
    image-rendering: optimize-contrast;         /* Possible future browsers. */
    -ms-interpolation-mode: nearest-neighbor;   /* IE */
}

canvas.game {
    position: absolute;
}

canvas.background {
    background-color: black;
}

canvas.entities {
}

canvas.foreground {
}

div.fps_counter {
    position: absolute;
}